Skip to content

Conversation

@anandhu-eng
Copy link
Contributor

Main idea of this PR is to set up a connection to script automation to display help regarding to individual scripts.

Example command(Dev Env):

python3 -m mlc.main help run script --tags=detect,os

Current output:

[2025-03-26 19:35:45,702 main.py:203 ERROR] - Function help is not supported
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/anandhu/testing/mlcflow/mlc/main.py", line 258, in <module>
    main()
  File "/home/anandhu/testing/mlcflow/mlc/main.py", line 204, in main
    raise Exception(f"""An error occurred {res}""")
Exception: An error occurred {'return': 1, 'error': 'Function help is not supported'}

Please note that the following error arise because the help function is not defined in script automation module.py in mlperf-automations

@anandhu-eng anandhu-eng requested a review from a team as a code owner March 26, 2025 14:15
@github-actions
Copy link

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@arjunsuresh arjunsuresh merged commit 0d5d1eb into mlcommons:dev Mar 26, 2025
37 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 26, 2025
@anandhu-eng anandhu-eng deleted the help-1 branch March 26, 2025 14:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants